Skip to content

fix(models): publish audio and video input changes - #167

Merged
mfuntowicz merged 1 commit into
ggml-org:mainfrom
vincentkoc:fix/model-modality-publication
Nov 16, 2026
Merged

mfuntowicz merged 1 commit into
ggml-org:mainfrom
vincentkoc:fix/model-modality-publication

Conversation

@vincentkoc

Copy link
Copy Markdown
Contributor

The runtime parses input_modalities but snapshot equality and row updates discard audio/video-only changes. Reused rows can therefore keep stale capability indicators.

Compare the complete input list and load-failure fields when publishing snapshots, refresh image/audio/video indicators on new and reused rows, and show audio/video input indicators in the list and model details. Indicators describe inputs only.

Validation: 71 focused native Windows tests passed across parser, snapshot, row-update and existing reconciliation coverage. The WinUI app compiled on Windows x64. GUI layout and model inference have not been exercised.

@mfuntowicz
mfuntowicz force-pushed the fix/model-modality-publication branch from 3101478 to 429bea1 Compare November 16, 2026 13:43
@mfuntowicz
mfuntowicz marked this pull request as ready for review November 16, 2026 14:15
Comment thread Views/ModelItem.cs
Comment on lines +186 to +188
Vision = modalities.Contains("image", StringComparer.OrdinalIgnoreCase);
var audio = modalities.Contains("audio", StringComparer.OrdinalIgnoreCase);
var video = modalities.Contains("video", StringComparer.OrdinalIgnoreCase);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should consider using an enum now that we have more modalities

@mfuntowicz mfuntowicz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this - a small nit we can address in a future PR witohut blocking anything on this one.

Sorry for the delay getting back to you.

@mfuntowicz
mfuntowicz merged commit 44afeb9 into ggml-org:main Nov 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants